interface fetchProjectDetailAPIResData {
  code: number
  msg: string
  time: string
  data: Project
}

interface fetchProjectDetailAPIParams {
  id: string
}

export function fetchProjectDetailAPI(params: fetchProjectDetailAPIParams, token: string) {
  return httpInstance.get<fetchProjectDetailAPIResData, fetchProjectDetailAPIParams>(
    '/api/team/serverprojectdetail',
    { params, headers: { token } },
  )
}
